projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4af163
)
ARM: AM43xx: Select clk source for Timer2
author
Lokesh Vutla
<
[email protected]
>
Tue, 10 Dec 2013 09:32:17 +0000
(15:02 +0530)
committer
Tom Rini
<
[email protected]
>
Thu, 19 Dec 2013 02:14:01 +0000
(21:14 -0500)
Selecting the Master osc clk as Timer2 clock source.
Signed-off-by: Lokesh Vutla <
[email protected]
>
arch/arm/cpu/armv7/am33xx/clock_am43xx.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/am33xx/clock_am43xx.c
b/arch/arm/cpu/armv7/am33xx/clock_am43xx.c
index c4890f2b432e080f02c36127397cd1c0ef8a3c87..22963b7f8530a7bc3a7b4c10b714b8b6cae61ae2 100644
(file)
--- a/
arch/arm/cpu/armv7/am33xx/clock_am43xx.c
+++ b/
arch/arm/cpu/armv7/am33xx/clock_am43xx.c
@@
-18,6
+18,7
@@
struct cm_perpll *const cmper = (struct cm_perpll *)CM_PER;
struct cm_wkuppll *const cmwkup = (struct cm_wkuppll *)CM_WKUP;
+struct cm_dpll *const cmdpll = (struct cm_dpll *)CM_DPLL;
const struct dpll_regs dpll_mpu_regs = {
.cm_clkmode_dpll = CM_WKUP + 0x560,
@@
-107,4
+108,7
@@
void enable_basic_clocks(void)
};
do_enable_clocks(clk_domains, clk_modules_explicit_en, 1);
+
+ /* Select the Master osc clk as Timer2 clock source */
+ writel(0x1, &cmdpll->clktimer2clk);
}